--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Commit c9f496ccebd66f956b79a1654617a32514c24451
Parents : 434e296
Author : Ivan <ivan@quad4.io>
Signature : Signature validation error
Date : 2026-05-09T02:18:53-05:00
fix(meshchat): delete conversation when blocking a destination to ensure proper cleanup
Changes
Diff
diff --git a/meshchatx/meshchat.py b/meshchatx/meshchat.py
index c27c7648..da4c4b2f 100644
--- a/meshchatx/meshchat.py
+++ b/meshchatx/meshchat.py
@@ -11436,6 +11436,9 @@ class ReticulumMeshChat:
self._lxmf_reticulum_enforce_block(destination_hash)
+ local_hash = self.local_lxmf_destination.hash.hex()
+ self.message_handler.delete_conversation(local_hash, destination_hash)
+
return web.json_response({"message": "ok"})
# remove blocked destination
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────